package com.softserveinc.dao;

import com.softserveinc.model.User;

import java.util.List;

/**
 * UserDao interface
 */
public interface IUserDao extends IBaseDAO {
    User getUserByUsername(String username);

    void createUser(User user) throws IllegalArgumentException;

    @Deprecated
    void createUser(String login, String pass, String email);

    User selectUser(String login);

    List<User> selectAll();

    void deleteUser(String login);

}
